package com.zhdl.hardware_contact.hardware_config.service.impl;

import com.project.common.service.impl.BaseServiceImpl;
import com.zhdl.hardware_contact.hardware_config.entity.ProjectParameter;
import com.zhdl.hardware_contact.hardware_config.repository.ProjectParamDao;
import com.zhdl.hardware_contact.hardware_config.service.ProjectParamService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Slf4j
@Service
public class ProjectParamServiceImpl extends BaseServiceImpl<Integer, ProjectParameter, ProjectParamDao> implements ProjectParamService {

    @Resource
    private ProjectParamDao projectParamDao;


    @Override
    public List<ProjectParameter> findAllByIds(List<Integer> ids) {
        return projectParamDao.findAllById(ids);
    }
}
